package com.gxa.luckin.admin.repository;

import com.gxa.luckin.core.pojo.Admin;
import org.springframework.data.repository.CrudRepository;

public interface AdminRepository extends CrudRepository<Admin,Long> {
    Admin findByNameAndPassword(String name,String password);
    Admin findByName(String username);

}
